/*
    Copyright 2013 Jonathan Kaschak

    This file is part of TerraTamper.

    TerraTamper is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    TerraTamper is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with TerraTamper.  If not, see <http://www.gnu.org/licenses/>.
*/

package Main;

public class DataIDs
{
  public static int boss(String in) {
      in = in.replaceAll("[^a-z0-9]","");
      if("eyeofcthulhu".indexOf(in)!=-1)
          return 4;
      if("eaterofworldsworm".indexOf(in)!=-1)
          return 13;
      if("kingslime".indexOf(in)!=-1)
          return 50;
      if("thetwins".indexOf(in)!=-1)
          return 125;
      if("skeletronprime".indexOf(in)!=-1)
          return 127;
      if("thedestroyer".indexOf(in)!=-1)
          return 134;
      /*if("goblinarmy".indexOf(in)!=-1)
          return -1;
      if("frostlegion".indexOf(in)!=-1)
          return -2;
      if("pirates".indexOf(in)!=-1)
          return -3;*/
      return 0;
  }
  public static int buff(String in) {
      in = in.replaceAll("[^a-z0-9]","");
      if("obsidianskin".indexOf(in)!=-1)
          return 1;
      if("regeneration".indexOf(in)!=-1)
          return 2;
      if("swiftness".indexOf(in)!=-1)
          return 3;
      if("gills".indexOf(in)!=-1)
          return 4;
      if("ironskin".indexOf(in)!=-1)
          return 5;
      if("manaregeneration".indexOf(in)!=-1)
          return 6;
      if("magicpower".indexOf(in)!=-1)
          return 7;
      if("featherfall".indexOf(in)!=-1)
          return 8;
      if("spelunker".indexOf(in)!=-1)
          return 9;
      if("invisibility".indexOf(in)!=-1)
          return 10;
      if("shine".indexOf(in)!=-1)
          return 11;
      if("nightowl".indexOf(in)!=-1)
          return 12;
      if("battle".indexOf(in)!=-1)
          return 13;
      if("thorns".indexOf(in)!=-1)
          return 14;
      if("waterwalking".indexOf(in)!=-1)
          return 15;
      if("archery".indexOf(in)!=-1)
          return 16;
      if("hunter".indexOf(in)!=-1)
          return 17;
      if("gravitation".indexOf(in)!=-1)
          return 18;
      if("shadoworb".indexOf(in)!=-1)
          return 19;
      if("poisoned".indexOf(in)!=-1)
          return 20;
      if("potionsickness".indexOf(in)!=-1)
          return 21;
      if("darkness".indexOf(in)!=-1)
          return 22;
      if("cursed".indexOf(in)!=-1)
          return 23;
      if("onfire".indexOf(in)!=-1)
          return 24;
      if("tipsy".indexOf(in)!=-1)
          return 25;
      if("wellfed".indexOf(in)!=-1)
          return 26;
      if("fairy".indexOf(in)!=-1)
          return 27;
      if("werewolf".indexOf(in)!=-1)
          return 28;
      if("clairvoyance".indexOf(in)!=-1)
          return 29;
      if("bleeding".indexOf(in)!=-1)
          return 30;
      if("confused".indexOf(in)!=-1)
          return 31;
      if("slow".indexOf(in)!=-1)
          return 32;
      if("weak".indexOf(in)!=-1)
          return 33;
      if("merfolk".indexOf(in)!=-1)
          return 34;
      if("silenced".indexOf(in)!=-1)
          return 35;
      if("brokenarmor".indexOf(in)!=-1)
          return 36;
      if("horrified".indexOf(in)!=-1)
          return 37;
      if("thetongue".indexOf(in)!=-1)
          return 38;
      if("cursedinferno".indexOf(in)!=-1)
          return 39;
      if("petbunny".indexOf(in)!=-1)
          return 40;
      if("babypenguin".indexOf(in)!=-1)
          return 41;
      if("petturtle".indexOf(in)!=-1)
          return 42;
      if("paladinsshield".indexOf(in)!=-1)
          return 43;
      if("frostburn".indexOf(in)!=-1)
          return 44;
      if("babyeater".indexOf(in)!=-1)
          return 45;
      if("chilled".indexOf(in)!=-1)
          return 46;
      if("frozen".indexOf(in)!=-1)
          return 47;
      if("honey".indexOf(in)!=-1)
          return 48;
      if("pygmies".indexOf(in)!=-1)
          return 49;
      if("babyskeletronhead".indexOf(in)!=-1)
          return 50;
      if("babyhornet".indexOf(in)!=-1)
          return 51;
      if("tikispirit".indexOf(in)!=-1)
          return 52;
      if("petlizard".indexOf(in)!=-1)
          return 53;
      if("petparrot".indexOf(in)!=-1)
          return 54;
      if("babytruffle".indexOf(in)!=-1)
          return 55;
      if("petsapling".indexOf(in)!=-1)
          return 56;
      if("wisp".indexOf(in)!=-1)
          return 57;
      if("rapidhealing".indexOf(in)!=-1)
          return 58;
      if("shadowdodge".indexOf(in)!=-1)
          return 59;
      if("leafcrystal".indexOf(in)!=-1)
          return 60;
      if("babydinosaur".indexOf(in)!=-1)
          return 61;
      if("icebarrier".indexOf(in)!=-1)
          return 62;
      if("panic".indexOf(in)!=-1)
          return 63;
      if("babyslime".indexOf(in)!=-1)
          return 64;
      if("eyeballspring".indexOf(in)!=-1)
          return 65;
      if("babysnowman".indexOf(in)!=-1)
          return 66;
      if("burning".indexOf(in)!=-1)
          return 67;
      if("suffocation".indexOf(in)!=-1)
          return 68;
      if("ichor".indexOf(in)!=-1)
          return 69;
      if("venom".indexOf(in)!=-1)
          return 70;
      if("weaponimbuevenom".indexOf(in)!=-1)
          return 71;
      if("midas".indexOf(in)!=-1)
          return 72;
      if("weaponimbuecursedflames".indexOf(in)!=-1)
          return 73;
      if("weaponimbuefire".indexOf(in)!=-1)
          return 74;
      if("weaponimbuegold".indexOf(in)!=-1)
          return 75;
      if("weaponimbueichor".indexOf(in)!=-1)
          return 76;
      if("weaponimbuenanites".indexOf(in)!=-1)
          return 77;
      if("weaponimbueconfetti".indexOf(in)!=-1)
          return 78;
      if("weaponimbuepoison".indexOf(in)!=-1)
          return 79;
      if("blackout".indexOf(in)!=-1)
          return 80;
      if("petspider".indexOf(in)!=-1)
          return 81;
      if("squashling".indexOf(in)!=-1)
          return 82;
      if("fileravenspngravens".indexOf(in)!=-1)
          return 83;
      if("blackcat".indexOf(in)!=-1)
          return 84;
      if("cursedsapling".indexOf(in)!=-1)
          return 85;
      return 0;
  }
}
